package cn.fintecher.pangolin.common.web;

import lombok.Data;
import org.elasticsearch.index.query.QueryBuilder;

import java.util.Set;

/**
 * 使用elasticsearch查询请求
 */
@Data
public abstract class SearchRequest {

    public Set<String> principalNames;

    public Set<String> principalIds;

    public Set<String> citySet;

    public boolean checkFlag;

    public abstract QueryBuilder generateQueryBuilder();
}
